package com.itmk.web.goods_category.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itmk.web.goods_category.entity.GoodsCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface GoodsCategoryMapper extends BaseMapper<GoodsCategory> {
    Long MaxId();

    @Update("update max_id SET category_id = #{categoryId} where id = 1")
    void setMaxId(Long categoryId);
}
